'use strict';

/////////////////////////////////////////////////////////////////
//keyValue是搜索词，包括姓名、工作单位、家庭成员、履历之类的中文全称、OrgID
//简称、拼音、拼音简称。
//比如：张三、zhangsan、zs
//发展与改革委员会、发改委、发展、fz、fgw
//之类的都能搜出来
//返回的是一个人员json
//人员ID暂定是要一个GUID的形式，是人员唯一的ID
export function SelectPeople() {
    //查询单位情况表、人员表、
    //人员ID 身份证号码 姓名 性别 职务 出生年月 籍贯 入党时间 工作时间 职务层级 全日制教育 全日制教育专业 在职教育 在职教育专业 任现职务时间  任现职务层级时间

    var persionArray = [{
        "PersionID": "2806969a-252e-413c-bebe-ca8c46672a16",
        "PersionName": "张三张",
        "Sex": "男",
        "JobTitleShortly": "市政府吃饭办公室主任",
        "JobTitleDetail": "安阳市政府吃饭办公室主任",
        "Birthday": "19700101",
        "NativePlace": "河南安阳",
        "StartingWorkDate": "19910202",
        "JoinPartyTime": "民革、民盟(1990.01)",
        "LeaderLevelText": "厅局级正职",
        "JobLevelTitleText": "一级调研员",
        "HighestFulltimeAcademicQualification": "大学",
        "HighestFulltimeDegreeLevel": "理学学士",
        "FulltimeSchoolAndMajor": "家里蹲大学啥也不会专业\n家里蹲大学啥也不会专业",
        "HighestInServiceAcademicQualification": "研究生中央党校大学",
        "HighestInServiceDegreeLevel": "法学硕士法学硕士",
        "InServiceSchoolAndMajor": "中央党校不懂法学专业",
        "LeaderLevelTime": "20020202",
        "JobLevelTime": "20030303",
        "OverallLevelTime": "19851112"
    }, {
        "PersionID": "af8cae0c-5127-4973-8448-0046e95b257d",
        "PersionName": "王五",
        "Sex": "男",
        "JobTitleShortly": "财政局副局长",
        "JobTitleDetail": "安阳市政府吃饭办公室主任",
        "Birthday": "197001",
        "NativePlace": "山东曲阜",
        "StartingWorkDate": "198006",
        "JoinPartyTime": null,
        "LeaderLevelText": null,
        "JobLevelTitleText": null,
        "HighestFulltimeAcademicQualification": null,
        "HighestFulltimeDegreeLevel": null,
        "FulltimeSchoolAndMajor": null,
        "HighestInServiceAcademicQualification": null,
        "HighestInServiceDegreeLevel": null,
        "InServiceSchoolAndMajor": null,
        "LeaderLevelTime": null,
        "JobLevelTime": null,
        "OverallLevelTime": null
    }, {
        "PersionID": "b23b0d1a-f64d-48af-9043-4c56a8f733ca",
        "PersionName": "刘六",
        "Sex": "女",
        "JobTitleShortly": "财政局办公室1科长",
        "JobTitleDetail": "安阳市政府吃饭办公室主任",
        "Birthday": "19600505",
        "NativePlace": "河南安阳",
        "StartingWorkDate": "198007",
        "JoinPartyTime": "民建",
        "LeaderLevelText": null,
        "JobLevelTitleText": null,
        "HighestFulltimeAcademicQualification": null,
        "HighestFulltimeDegreeLevel": null,
        "FulltimeSchoolAndMajor": null,
        "HighestInServiceAcademicQualification": null,
        "HighestInServiceDegreeLevel": null,
        "InServiceSchoolAndMajor": null,
        "LeaderLevelTime": null,
        "JobLevelTime": null,
        "OverallLevelTime": null
    }, {
        "PersionID": "b9303638-bccd-460c-b9a3-53ed1a2d65a2",
        "PersionName": "李四",
        "Sex": "男",
        "JobTitleShortly": "财政局局长",
        "JobTitleDetail": "安阳市政府吃饭办公室主任",
        "Birthday": "197002",
        "NativePlace": "河北邯郸",
        "StartingWorkDate": "19850505",
        "JoinPartyTime": "1980.03",
        "LeaderLevelText": "县处级正职",
        "JobLevelTitleText": "三级调研员",
        "HighestFulltimeAcademicQualification": null,
        "HighestFulltimeDegreeLevel": null,
        "FulltimeSchoolAndMajor": null,
        "HighestInServiceAcademicQualification": null,
        "HighestInServiceDegreeLevel": null,
        "InServiceSchoolAndMajor": null,
        "LeaderLevelTime": "20050505",
        "JobLevelTime": "20060707",
        "OverallLevelTime": null
    }];
    var s = JSON.stringify(persionArray);
    return s
}

//高级查询 传入一个json的综合查询条件
//返回值与SelectPeople方法相同格式.这个暂不实现
export function AdvancedQuery(KeyValue) {
    return SelectPeople(KeyValue);
}

//通过身份证号码查询人员主要信息
//参数是一个json  ['410504197001010001','410504198001010001'] 代表两个人
//返回的和SelectPeople一样 是一个人员主要信息的json
export function SelectPeopleByIDCardNO(IDCardNOs) {
    return SelectPeople(IDCardNOs)
}

//传入人员ID，返回任免表以及更多的信息
export function GetPeopleDetailInfo() {
    var PersionDetailInfo = {
        "PersionID": "2806969a-252e-413c-bebe-ca8c46672a16",
        "PersionName": "张三",
        "Sex": "男",
        "Birthday": "19700101",
        "NativePlace": "河南安阳",
        "BirthPlace": "外国布宜诺斯艾利斯",
        "EthnicEText": "汉族",
        "HealthCondition": "健康",
        "StartingWorkDate": "19910202",
        "JoinPartyTime": "民革、民盟(1990.01)",
        "PoliticsStatusText": "中共党员",
        "SecondPartisanText": "民革",
        "ThirdPartisanText": "民盟",
        "PersionTypeText": "公务员",
        "PersionStatusText": "现职人员",
        "ManageTypeText": "省级党委管理干部",
        "IDCardNO": "410504197001010001",
        "Specialty": "吃饭睡觉 ",
        "JobTitleShortly": "市政府吃饭办公室主任",
        "JobTitleDetail": "安阳市政府吃饭办公室主任",
        "LeaderLevelText": "厅局级正职",
        "LeaderLevelTime": "20020202",
        "JobLevelTime": "20030303",
        "SkillTitle": "高级工程师",
        "Resume": '1995.05--         市财政局局长\r\n2005.06--         安阳市人民政府市长\r\n4564646456恐怕看破\r\n2006.06--         中共安阳市纪律检查委员会副书记',
        "RewardsAndPunishment": "有奖有罚",
        "AnnualAssessment": "2018年年度考核合格；2019年年度考核称职；2020年年度考核优秀。",
        "RankText": "2",
        "StaffingTypeText": "1",
        "ProfessionalLevelText": "2",
        "JobLevelTitleText": "一级调研员",
        "OverallLevelTime": "19851112",
        "HighestFulltimeAcademicQualification": "大学",
        "HighestFulltimeDegreeLevel": "理学学士",
        "FulltimeSchoolAndMajor": "家里蹲大学啥也不会专业\r\n家里蹲大学啥也不会专业1",
        "HighestInServiceAcademicQualification": "研究生中央党校大学",
        "HighestInServiceDegreeLevel": "法学硕士法学硕士",
        "InServiceSchoolAndMajor": "中央党校不懂法学专业"
    };

    var s = JSON.stringify(PersionDetailInfo);
    return s
}

//传入人员ID，返回家庭社会关系信息
//家庭内排序用于干部任免表里的列表显示顺序
export function GetFamilyMembers() {

    var FamilyMumber0 = {
        PersionName: '李四',//家庭成员姓名
        Relation: '丈夫',//称谓
        Birthday: '196909',//出生日期
        PoliticsStatus: '中共党员',//政治面貌
        JobInfo: '河南省安阳市节水办职工（已退休）',//工作单位及职务
        Sort: '1',//家庭内排序
        PersionID: '542f1dcf-f3b4-441a-a636-d582c45426b8',
        IsInResumeFile: 'true'
    }

    var FamilyMumber1 = {
        PersionName: '孙培豪',//家庭成员姓名
        Relation: '儿子',//称谓
        Birthday: '',//出生日期
        PoliticsStatus: '共青团员',//政治面貌
        JobInfo: '中国矿业大学银川学院财务管理专业',//工作单位及职务
        Sort: '3',//家庭内排序
        PersionID: '',
        IsInResumeFile: 'true'
    }

    var FamilyMumber2 = {
        PersionName: '刘庆甫',//家庭成员姓名
        Relation: '父亲',//称谓
        Birthday: '194007',//出生日期
        PoliticsStatus: '中共党员',//政治面貌
        JobInfo: '河南省平原制药厂职工（已退休）',//工作单位及职务
        Sort: '4',//家庭内排序
        PersionID: '',
        IsInResumeFile: 'true'
    }

    var FamilyMumber3 = {
        PersionName: '武敬章',//家庭成员姓名
        Relation: '母亲',//称谓
        Birthday: '194402',//出生日期
        PoliticsStatus: '群众',//政治面貌
        JobInfo: '河南省安阳市节水办职工（已退休）',//工作单位及职务
        Sort: '2',//家庭内排序
        PersionID: '',
        IsInResumeFile: 'true'
    }

    var FamilyMumber4 = {
        PersionName: '张二',//家庭成员姓名
        Relation: '哥哥',//称谓
        Birthday: '196809',//出生日期
        PoliticsStatus: '中共党员',//政治面貌
        JobInfo: '河南省安阳市节水办职工（已退休）',//工作单位及职务
        Sort: '5',//家庭内排序
        PersionID: 'd582c454-f3b4-441a-a636-d582c45426b8',
        IsInResumeFile: 'no'
    }

    var FamilyMumberArray = new Array();

    FamilyMumberArray[0] = FamilyMumber0;
    FamilyMumberArray[1] = FamilyMumber1;
    FamilyMumberArray[2] = FamilyMumber2;
    FamilyMumberArray[3] = FamilyMumber3;
    FamilyMumberArray[4] = FamilyMumber4;
    var s = JSON.stringify(FamilyMumberArray);
    return s
}

//得到同事
export function GetColleague() {

}

//得到同乡
export function GetSameHometownPersion() {

}

//通过姓名和年龄来查找是否系统中能找到这个人，辅助判断家庭成员是否
//也是系统中的公务员
export function GetPersionByNameAndAge() {
    //这个暂时用不到，我在数据库录入的时候就预处理做判断了
}

//返回全部组织机构
export function GetALLOrgStructure() {
    // var Org1 =  {
    //     OrgCode:"asw",//机构编码
    //     OrgID:"001.001.001",//机构内部ID
    //     OrgFullName:"中共安阳市委员会",//机构全程
    //     OrgShortName:"安阳市委", //机构简称
    //     SORTID:1//同级别内的排序
    // }
    //
    // var Org2 = {
    //     OrgCode:"xcb", //机构编码
    //     OrgID:"001.001.001.001",//机构内部ID
    //     OrgFullName:"市委宣传部",//机构全程
    //     OrgShortName:"宣传部", //机构简称
    //     SORTID:1//同级别内的排序
    // }
    //
    // var Org21 = {
    //     OrgCode:"bgs1", //机构编码
    //     OrgID:"001.001.001.001.001",//机构内部ID
    //     OrgFullName:"宣传部办公室1",//机构全程
    //     OrgShortName:"办公室1", //机构简称
    //     SORTID:1//同级别内的排序
    // }
    //
    // var Org22 = {
    //     OrgCode:"bgs2", //机构编码
    //     OrgID:"001.001.001.001.002",//机构内部ID
    //     OrgFullName:"宣传部办公室2",//机构全程
    //     OrgShortName:"办公室2", //机构简称
    //     SORTID:2//同级别内的排序
    // }
    //
    // var Org3 = {
    //     OrgCode:"zzb", //机构编码
    //     OrgID:"001.001.001.002",//机构内部ID
    //     OrgFullName:"市委组织部",//机构全程
    //     OrgShortName:"组织部", //机构简称
    //     SORTID:2//同级别内的排序
    // }
    //
    // var Org31 = {
    //     OrgCode:"bgs3", //机构编码
    //     OrgID:"001.001.001.002.001",//机构内部ID
    //     OrgFullName:"市委组织部办公室1",//机构全程
    //     OrgShortName:"办公室1", //机构简称
    //     SORTID:1//同级别内的排序
    // }
    //
    // var Org32 = {
    //     OrgCode:"bgs4", //机构编码
    //     OrgID:"001.001.001.002.002",//机构内部ID
    //     OrgFullName:"市委组织部办公室2",//机构全程
    //     OrgShortName:"办公室1", //机构简称
    //     SORTID:2//同级别内的排序
    // }
    // ///////////////////////////////////////////////////////////////////
    // var Org4 =  {
    //     OrgCode:"szf", //机构编码
    //     OrgID:"001.001.002",//机构内部ID
    //     OrgFullName:"安阳市政府",//机构全程
    //     OrgShortName:"市政府", //机构简称
    //     SORTID:2//同级别内的排序
    // }
    //
    // var Org5 =  {
    //     OrgCode:"czj", //机构编码
    //     OrgID:"001.001.002.001",//机构内部ID
    //     OrgFullName:"安阳市财政局",//机构全程
    //     OrgShortName:"市财政局", //机构简称
    //     SORTID:1//同级别内的排序
    // }
    //
    // var Org6 =  {
    //     OrgCode:"jtj", //机构编码
    //     OrgID:"001.001.002.002",//机构内部ID
    //     OrgFullName:"安阳市交通局",//机构全程
    //     OrgShortName:"交通局", //机构简称
    //     SORTID:2//同级别内的排序
    // }
    // //////////////////////////////////////////////////////////////////////////
    // var Org7 = {
    //     OrgCode:"srd", //机构编码
    //     OrgID:"001.001.003",//机构内部ID
    //     OrgFullName:"安阳市人民代表大会",//机构全程
    //     OrgShortName:"人大", //机构简称
    //     SORTID:3//同级别内的排序
    // }
    //
    // var Org8 = {
    //     OrgCode:"szx", //机构编码
    //     OrgID:"001.001.004",//机构内部ID
    //     OrgFullName:"安阳市政协",//机构全程
    //     OrgShortName:"市政协", //机构简称
    //     SORTID:4//同级别内的排序
    // }
    //
    //
    // var OrgArray = new Array();
    //
    // OrgArray[0]=Org1;
    // OrgArray[1]=Org2;
    // OrgArray[2]=Org3;
    // OrgArray[3]=Org4;
    // OrgArray[4]=Org5;
    // OrgArray[5]=Org6;
    // OrgArray[6]=Org7;
    // OrgArray[7]=Org8;
    //
    // OrgArray[8]=Org21;
    // OrgArray[9]=Org22;
    // OrgArray[10]=Org31;
    // OrgArray[11]=Org32;

    let arr = [{
        "OrgID": "001.001.001.004",
        "OrgFullName": "中共安阳市委员会",
        "OrgShortName": "中共安阳市委",
        "SORTID": 17,
        "BranchOrg": [{
            "OrgID": "001.001.001.004.002",
            "OrgFullName": "中共安阳市委办公室",
            "OrgShortName": "安阳市委办",
            "SORTID": 1,
            "BranchOrg": [{
                "OrgID": "001.001.001.007.002",
                "OrgFullName": "专职委其他领导",
                "OrgShortName": "专职委其他领导",
                "SORTID": 83951616,
                "BranchOrg": []
            }]
        }, {
            "OrgID": "001.001.001.004.003",
            "OrgFullName": "中共安阳市委组织部",
            "OrgShortName": "安阳市委组织部",
            "SORTID": 2,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.004",
            "OrgFullName": "中共安阳市委宣传部",
            "OrgShortName": "安阳市委宣传部",
            "SORTID": 3,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.005",
            "OrgFullName": "中共安阳市委统一战线工作部",
            "OrgShortName": "安阳市委统战部",
            "SORTID": 4,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.006",
            "OrgFullName": "中共安阳市委政法委员会",
            "OrgShortName": "安阳市委政法委",
            "SORTID": 5,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.007",
            "OrgFullName": "中共安阳市委网络安全和信息化委员会办公室",
            "OrgShortName": "安阳市网信办",
            "SORTID": 6,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.008",
            "OrgFullName": "中共安阳市委机构编制委员会办公室",
            "OrgShortName": "安阳市委编办",
            "SORTID": 7,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.009",
            "OrgFullName": "中共安阳市委直属机关工作委员会",
            "OrgShortName": "安阳市直工委",
            "SORTID": 8,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.00A",
            "OrgFullName": "中共安阳市委巡察工作领导小组办公室",
            "OrgShortName": "安阳市委巡察办",
            "SORTID": 9,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.00B",
            "OrgFullName": "安阳市委市政府督查局",
            "OrgShortName": "安阳市督查局",
            "SORTID": 10,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.00C",
            "OrgFullName": "中共安阳市委机要保密局",
            "OrgShortName": "安阳市机要局",
            "SORTID": 11,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.00D",
            "OrgFullName": "中共安阳市委老干部局",
            "OrgShortName": "安阳市老干局",
            "SORTID": 12,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.004.001",
            "OrgFullName": "中共安阳市纪律检查委员会",
            "OrgShortName": "安阳市纪委",
            "SORTID": 13,
            "BranchOrg": []
        }]
    }, {
        "OrgID": "001.001.001.001",
        "OrgFullName": "安阳市人民政府",
        "OrgShortName": "安阳市政府",
        "SORTID": 18,
        "BranchOrg": [{
            "OrgID": "001.001.001.001.001",
            "OrgFullName": "安阳市人民政府办公室",
            "OrgShortName": "安阳市政府办",
            "SORTID": 33619968,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.002",
            "OrgFullName": "安阳市发展和改革委员会",
            "OrgShortName": "安阳市发改委",
            "SORTID": 33685504,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.003",
            "OrgFullName": "安阳市教育局",
            "OrgShortName": "安阳市教育局",
            "SORTID": 33751040,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.004",
            "OrgFullName": "安阳市科学技术局",
            "OrgShortName": "安阳市科技局",
            "SORTID": 33816576,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.005",
            "OrgFullName": "安阳市工业和信息化局",
            "OrgShortName": "安阳市工信局",
            "SORTID": 33882112,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.006",
            "OrgFullName": "安阳市民族宗教事务局",
            "OrgShortName": "安阳市民宗局",
            "SORTID": 33947648,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.007",
            "OrgFullName": "安阳市公安局",
            "OrgShortName": "安阳市公安局",
            "SORTID": 34013184,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.008",
            "OrgFullName": "安阳市民政局",
            "OrgShortName": "安阳市民政局",
            "SORTID": 34078720,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.009",
            "OrgFullName": "安阳市司法局",
            "OrgShortName": "安阳市司法局",
            "SORTID": 34144256,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00A",
            "OrgFullName": "安阳市财政局",
            "OrgShortName": "安阳市财政局",
            "SORTID": 34209792,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00B",
            "OrgFullName": "安阳市人力资源和社会保障局",
            "OrgShortName": "安阳市人社局",
            "SORTID": 34275328,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00C",
            "OrgFullName": "安阳市自然资源和规划局",
            "OrgShortName": "安阳市资源规划局",
            "SORTID": 34340864,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00D",
            "OrgFullName": "安阳市生态环境局",
            "OrgShortName": "安阳市生态环境局",
            "SORTID": 34406400,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00E",
            "OrgFullName": "安阳市住房和城乡建设局",
            "OrgShortName": "安阳市住建局",
            "SORTID": 34471936,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00F",
            "OrgFullName": "安阳市交通运输局",
            "OrgShortName": "安阳市交通运输局",
            "SORTID": 34537472,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00G",
            "OrgFullName": "安阳市水利局",
            "OrgShortName": "安阳市水利局",
            "SORTID": 34603008,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00H",
            "OrgFullName": "安阳市农业农村局",
            "OrgShortName": "安阳市农业农村局",
            "SORTID": 34668544,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00J",
            "OrgFullName": "安阳市商务局",
            "OrgShortName": "安阳市商务局",
            "SORTID": 34734080,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00K",
            "OrgFullName": "安阳市文化广电体育旅游局",
            "OrgShortName": "安阳市文广体旅局",
            "SORTID": 34799616,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00L",
            "OrgFullName": "安阳市卫生健康委员会",
            "OrgShortName": "安阳市卫健委",
            "SORTID": 34865152,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01I",
            "OrgFullName": "安阳市退役军人事务局",
            "OrgShortName": "安阳市退役军人事务局",
            "SORTID": 34930688,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01J",
            "OrgFullName": "安阳市应急管理局",
            "OrgShortName": "安阳市应急管理局",
            "SORTID": 34996224,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00N",
            "OrgFullName": "安阳市审计局",
            "OrgShortName": "安阳市审计局",
            "SORTID": 35061760,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01K",
            "OrgFullName": "安阳市市场监督管理局",
            "OrgShortName": "安阳市市管局",
            "SORTID": 35127296,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00Q",
            "OrgFullName": "安阳市统计局",
            "OrgShortName": "安阳市统计局",
            "SORTID": 35192832,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01G",
            "OrgFullName": "安阳市医疗保障局",
            "OrgShortName": "安阳市医保局",
            "SORTID": 35258368,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00Y",
            "OrgFullName": "安阳市人民防空办公室",
            "OrgShortName": "安阳市人防办",
            "SORTID": 35323904,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01H",
            "OrgFullName": "安阳市金融工作局",
            "OrgShortName": "安阳市金融局",
            "SORTID": 35389440,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.014",
            "OrgFullName": "安阳市扶贫开发办公室",
            "OrgShortName": "安阳市扶贫办",
            "SORTID": 35454976,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01L",
            "OrgFullName": "安阳市信访局",
            "OrgShortName": "安阳市信访局",
            "SORTID": 35520512,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00X",
            "OrgFullName": "安阳市城市管理局",
            "OrgShortName": "安阳市城管局",
            "SORTID": 35586048,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01B",
            "OrgFullName": "安阳市政务服务和大数据管理局",
            "OrgShortName": "安阳市政务服务和大数据管理局",
            "SORTID": 35651584,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00I",
            "OrgFullName": "安阳市林业局",
            "OrgShortName": "安阳市林业局",
            "SORTID": 35717120,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.01M",
            "OrgFullName": "安阳市文物局",
            "OrgShortName": "安阳市文物局",
            "SORTID": 35782656,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.001.00U",
            "OrgFullName": "安阳市人民政府国有资产监督管理委员会",
            "OrgShortName": "安阳市国资委",
            "SORTID": 36175872,
            "BranchOrg": []
        }]
    }, {
        "OrgID": "001.001.001.005",
        "OrgFullName": "安阳市人民代表大会常务委员会",
        "OrgShortName": "安阳市人大",
        "SORTID": 21,
        "BranchOrg": [{
            "OrgID": "001.001.001.005.001",
            "OrgFullName": "办公室",
            "OrgShortName": "办公室",
            "SORTID": 50397184,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.002",
            "OrgFullName": "调查研究室",
            "OrgShortName": "调研室",
            "SORTID": 50462720,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.003",
            "OrgFullName": "信访办公室",
            "OrgShortName": "信访办",
            "SORTID": 50528256,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.004",
            "OrgFullName": "法制工作委员会",
            "OrgShortName": "法工委",
            "SORTID": 50593792,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.005",
            "OrgFullName": "财政经济工作委员会",
            "OrgShortName": "财经委",
            "SORTID": 50659328,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.006",
            "OrgFullName": "教育科学文化卫生工作委员会",
            "OrgShortName": "教工委",
            "SORTID": 50724864,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.007",
            "OrgFullName": "城乡建设环境保护工作委员会",
            "OrgShortName": "城建委",
            "SORTID": 50790400,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.008",
            "OrgFullName": "选举任免代表联络工作委员会",
            "OrgShortName": "选工委",
            "SORTID": 50855936,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.009",
            "OrgFullName": "农村工作委员会",
            "OrgShortName": "农工委",
            "SORTID": 50921472,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.00A",
            "OrgFullName": "民族侨务外事工作委员会",
            "OrgShortName": "民侨委",
            "SORTID": 50987008,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.00B",
            "OrgFullName": "预算工作委员会",
            "OrgShortName": "预算工委",
            "SORTID": 51052544,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.005.00C",
            "OrgFullName": "监察和司法工作委员会",
            "OrgShortName": "监察和司法工作委员会",
            "SORTID": 51118080,
            "BranchOrg": []
        }]
    }, {
        "OrgID": "001.001.001.006",
        "OrgFullName": "政协安阳市委员会",
        "OrgShortName": "安阳市政协",
        "SORTID": 22,
        "BranchOrg": [{
            "OrgID": "001.001.001.006.001",
            "OrgFullName": "办公室",
            "OrgShortName": "办公室",
            "SORTID": 67174400,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.002",
            "OrgFullName": "调研室",
            "OrgShortName": "调研室",
            "SORTID": 67239936,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.003",
            "OrgFullName": "提案委员会",
            "OrgShortName": "提案委",
            "SORTID": 67305472,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.004",
            "OrgFullName": "经济委员会",
            "OrgShortName": "经济委",
            "SORTID": 67371008,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.005",
            "OrgFullName": "农业和农村委员会",
            "OrgShortName": "农业和农村委",
            "SORTID": 67436544,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.006",
            "OrgFullName": "教科卫体委员会",
            "OrgShortName": "教科卫体委",
            "SORTID": 67502080,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.008",
            "OrgFullName": "社会和法制委员会",
            "OrgShortName": "社法委",
            "SORTID": 67633152,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.00A",
            "OrgFullName": "港澳台侨外和民族宗教委员会",
            "OrgShortName": "港澳台侨外和民族委",
            "SORTID": 67764224,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.00B",
            "OrgFullName": "文化和文史委员会",
            "OrgShortName": "学习文史委",
            "SORTID": 67829760,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.00C",
            "OrgFullName": "县（市）区政协和委员联络室",
            "OrgShortName": "县区政协工委",
            "SORTID": 67895296,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.006.00D",
            "OrgFullName": "人口资源环境和城建委员会",
            "OrgShortName": "人口资环和城建委员会",
            "SORTID": 67895297,
            "BranchOrg": []
        }]
    }, {
        "OrgID": "001.001.001.007",
        "OrgFullName": "安阳市中级人民法院",
        "OrgShortName": "安阳市中院",
        "SORTID": 23,
        "BranchOrg": [{
            "OrgID": "001.001.001.007.002",
            "OrgFullName": "专职委其他领导",
            "OrgShortName": "专职委其他领导",
            "SORTID": 83951616,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.007.00K",
            "OrgFullName": "政治部",
            "OrgShortName": "政治部",
            "SORTID": 84082688,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.007.00G",
            "OrgFullName": "执行局",
            "OrgShortName": "执行局",
            "SORTID": 84803584,
            "BranchOrg": []
        }, {
            "OrgID": "001.001.001.007.00S",
            "OrgFullName": "河南法官进修学院安阳分院",
            "OrgShortName": "法官学院",
            "SORTID": 85524480,
            "BranchOrg": []
        }]
    }, {
        "OrgID": "001.001.001.008",
        "OrgFullName": "安阳市人民检察院",
        "OrgShortName": "安阳市检察院",
        "SORTID": 24,
        "BranchOrg": []
    }];

    var s = JSON.stringify(arr);
    return s
}

//返回指定ID的组织及其下级组织
export function GetOrgStructureByID() {

}
